package jetbrains.buildServer.cuta.logic.operators;

import jetbrains.buildServer.serverSide.SBuildAgent;
import org.jetbrains.annotations.NotNull;

import java.util.Map;



/**
 * @author Leonid Bushuev from JetBrains
 */
class GetSystemVarOperator extends GetAgentVarOperator
{


    @Override
    @NotNull
    protected Map<String,String> getVars(SBuildAgent agent) { return agent.getBuildParameters(); }


    @Override
    @NotNull
    protected String getNamePrefix() { return "system."; }


    @Override
    @NotNull
    public String name() { return "get-system-var"; }


}
